import request from "@/axios";

// 个人用户激活-刷脸核身
export const userfaceactivate = option =>
  request({
    url: "/api/remotesource/esignuserfaceactivate",
    method: "post",
    data: option
  });

// 企业激活-企业核身认证4要素
export const companyactivatebyadmin = option =>
  request({
    url: "/api/remotesource/esigncompanyfourfactorsactivate",
    method: "post",
    data: option
  });

// 企业激活-发起随机金额打款认证
export const paymentactivate = option =>
  request({
    url: "/api/remotesource/esigntransferrandomamountactivate",
    method: "post",
    data: option
  });

// 企业激活-随机金额校验
export const verifyrandomamountactivate = option =>
  request({
    url: "/api/remotesource/esignverifyrandomamountactivate",
    method: "post",
    data: option
  });

// 获取激活用户信息
export const getactivateuser = option =>
  request({
    url: "/api/file/getactivateuserdetail",
    method: "get",
    params: option
  });

// 获取激活企业信息
export const getactivatecompany = option =>
  request({
    url: "/api/file/getactivatecompanydetail",
    method: "get",
    params: option
  });

// 企业激活
export const companyactivate = option =>
  request({
    url: "/api/company/companyactivate",
    method: "get",
    params: option
  });
